vtd: only enable Interrupt Remapping if Queued Invalidation is also enabled.
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 20 Mar 2009 09:10:55 +0000 (09:10 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 20 Mar 2009 09:10:55 +0000 (09:10 +0000)
commit312b6463fb9c81cb69324409fa5a1e6e5485c19d
treecdd98df28e2d40b58ada79663a47ce95421e6010
parent7b915d3eaf2802578456359b5e756af0c1246c58
vtd: only enable Interrupt Remapping if Queued Invalidation is also enabled.

If Queued Invalidation is not supported or not enabled, we should not
enable Interrupt Remapping even if HW supports it, because Interrupt
Remapping needs Queued Invalidation to invalidate Interrupt Remapping
Cache.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
xen/drivers/passthrough/vtd/iommu.c